Skip to content

[NO-ISSUE] Update Maven artifact plugin - #6880

Closed
kbowers-ibm wants to merge 2 commits into
apache:mainfrom
kbowers-ibm:update-maven-artifact-plugin
Closed

[NO-ISSUE] Update Maven artifact plugin#6880
kbowers-ibm wants to merge 2 commits into
apache:mainfrom
kbowers-ibm:update-maven-artifact-plugin

Conversation

@kbowers-ibm

Copy link
Copy Markdown
Contributor

Thank you for submitting this pull request

NOTE!: Double-check the target branch for this PR.
The default is main.

Ports If a forward-port or a backport is needed, paste the forward port PR here

Issue: (please edit the GitHub Issues link if it exists)

Referenced Pull Requests: (please edit the URLs of referenced pull requests if they exist)

  • paste the link(s) from GitHub here
  • link 2
  • link 3 etc.
How to replicate the CI locally

The CI does "simple" maven build(s). All commands can be run from the repository root.

Quick build of just your changed modules and their dependents (mirrors what CI does on a PR):

# 1. Build upstream dependencies of your changes (skip tests for speed)
mvn -T 1C --batch-mode -fae -DskipTests -DskipITs \
    -Denforcer.skip=true -Dcheckstyle.skip=true -Dformatter.skip=true -Darchunit.skip=true \
    -pl <upstream-modules> install

# 2. Build your changed modules and their transitive dependents (with tests)
mvn --batch-mode -fae -Dreproducible \
    -pl <affected-modules> install

To compute <upstream-modules> and <affected-modules> automatically (requires JBang):

jbang script/ci/CiComputeBuildScopes.java \
    <changed-files.txt> \
    <upstream-modules.txt> \
    <affected-modules.txt> \
    <changed-modules.txt>

Full build (equivalent to what runs on every push to main):

mvn --batch-mode -fae -Dfull -Dreproducible install

-Dfull additionally builds the distribution modules and generates Javadoc JARs.

Useful flags:

Flag Effect
-Dquickly Skip tests, Checkstyle, formatter, Enforcer, ArchUnit
-DskipTests Skip unit tests
-DskipITs Skip integration tests
-Denforcer.skip=true Skip Enforcer plugin
-Dcheckstyle.skip=true Skip Checkstyle
-Dformatter.skip=true Skip formatter
-Darchunit.skip=true Skip ArchUnit
How to retest this PR or trigger a specific build
  • To re-run CI: push a new commit to the PR (an empty commit is enough: git commit --allow-empty -m "re-trigger CI").

@kbowers-ibm kbowers-ibm changed the title Update maven artifact plugin [NO-ISSUE] Update Maven artifact plugin Aug 6, 2026
@kbowers-ibm kbowers-ibm closed this Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant